<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:t="http://myfaces.apache.org/tomahawk">
<body>
<ui:composition template="/WEB-INF/facelets/template.xhtml">

<ui:define name="title">
Find Patient
</ui:define>


<ui:define name="body">
<f:view>
<f:loadBundle basename="com.vurenium.ras.patient.PatientMsgs" var="patMsgs"/>
#{patMsgs.patFindTitle}

<h:form>
#{patMsgs.patFname}
<t:inputText value="#{patientBean.firstName}"/>
#{patMsgs.patLname}
<h:inputText id="lname" required="true" value="#{patientBean.lastName}"/>
<h:message for="lname" styleClass="RED"/>
		
<h:commandButton value="Find"	action="#{patientBean.find}"/>
		
</h:form>
</f:view>
</ui:define>

</ui:composition>
</body></html>